﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Resume.Model;

public class UsersDict : ModelBase
{
    /// <summary>
    /// 用户编码
    /// </summary>
    [Required]
    [MaxLength(50)]
    public string? UserCode { get; set; }

    /// <summary>
    /// 用户名称
    /// </summary>
    [Required]
    [MaxLength(100)]
    public string? UserName { get; set; }

    /// <summary>
    /// 性别
    /// </summary>
    [Required]
    [MaxLength(100)]
    public string? Sex { get; set; }

    /// <summary>
    /// 出生日期
    /// </summary>
    [Required]
    public DateTime BirthDay { get; set; }

    /// <summary>
    /// 手机号码
    /// </summary>
    [Required]
    [MaxLength(11)]
    public string? PhoneNumber { get; set; }

    /// <summary>
    /// 邮箱
    /// </summary>
    [Required]
    [MaxLength(50)]
    public string? Email { get; set; }

    /// <summary>
    /// 民族
    /// </summary>
    [Required]
    [MaxLength(50)]
    public string? Nation { get; set; }

    /// <summary>
    /// 政治面貌
    /// </summary>
    [Required]
    public string? PoliticalOutlook { get; set; }

    /// <summary>
    /// 求职意向
    /// </summary>
    [Required]
    public string? JobIntention { get; set; }
}
